&.file {
  input[type='file'] {
    // Reset the file input to browser defaults
    width: auto;
    padding: initial;
    line-height: initial;
    border: initial;
    background-color: $inputBackground;
    background-color: initial;
    @include box-shadow(none);

    // Set the height of select and file controls to match text inputs
    height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
    *margin-top: 4px; /* For IE7, add top margin to align select with labels */
    line-height: 28px;

    // Reset line-height for IE
    line-height: 18px \9;

    padding-bottom: 4px;

    &:focus {
      @include box-shadow(none);
      @include tab-focus();
    }
  }
}
